package com.xjx.enmus;


public enum EmailStatus {
    SUCCESS(200, "邮件发送成功"),
    FAILURE(500, "邮件发送失败");

    private final Integer code;
    private final String description;

    EmailStatus(Integer code, String description) {
        this.code = code;
        this.description = description;
    }

    public Integer getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
